package itpenguin.train;

import itpenguin.train.common.Train;
import itpenguin.train.tokyometro.TokyoMetro;

import java.io.IOException;
import java.util.List;
import java.util.TimeZone;

public class TokyoMetroPositions extends TrainPositions {

	private static final long serialVersionUID = 1L;

	@Override
	protected List<? extends Train> getTrainList() throws IOException {
        TokyoMetro tm = new TokyoMetro();
		return tm.getCurrentPositions();
	}

	@Override
	protected TimeZone getTimeZone() {
		return TimeZone.getTimeZone("Asia/Tokyo");
	}
	
}
